﻿using System;

namespace TShooter.TfsSearch.EngineModel
{
    public delegate void DocumentEventHandler(object sender, DocumentEventArgs e);

    public class DocumentEventArgs: EventArgs
    {
        private readonly IndexDocument _Document;

        public DocumentEventArgs(IndexDocument _Document)
        {
            this._Document = _Document;
        }

        public IndexDocument Document
        {
            get { return _Document; }
        }
    }
}
